package com.wx.mall.sys.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class RoleSetPermissionReqVO {
    @ApiModelProperty("角色id")
    @NotNull(message = "角色id不能为空")
    private Integer roleId;
    @ApiModelProperty("权限id")
    @NotNull(message = "权限id不能为空")
    private List<Integer> permissions;
}
